package com.bkbw.live.common.fsm;

public class GameState {
	
	public static interface Action {
		public void action();
	}
	
	public static interface ActionF {
		public void action(float f);
	}
	
	public static interface MessageHandler {
		public void handle(Object sender, Object param);
	}
	
	protected int id;
	public GameState(int id) 
	{
		this.id = id;
	}
	public int getId()
	{
		return id;
	}
	
	public void setId(int id)
	{
		this.id = id;
	}
	
	
	public MessageHandler onMessage;
	public Action onEnter;
	public Action onExit;
	public ActionF onUpdate;
}
